package compound.pattern;/** * Created by Administrator on 2018-11-8. */public abstract class AbstractDuckFactory {    public abstract Quackable createMallardDuck();    public abstract Quackable createRedheadDuck();    public abstract Quackable createDuckCall();    public abstract Quackable createRubberDuck();}